﻿@model IEnumerable<SaleWebsite.Models.Product>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<form action="" method="post">

<h2>Quản lí thông tin  hàng hóa</h2>
 
 <p class="insert_product">Thêm hàng hóa</p>
 <table  id="list_group">
<tr>
<th>Id</th>
<th>Image</th>
<th>Name</th>
<th>Delete</th>
<th>Edit</th>
</tr>
@if (Model!=null)
{
    foreach (var item in Model)
    {
        @Html.Partial("product_row", item);
    }
}
</table>
</form>
@Scripts.Render("~/bundles/product")